<template>
    <div id="myhead">
        <div class="myimg">
            <img src="//www-file.huawei.com/-/media/corporate/images/home/logo/huawei_logo.png" alt="">
        </div>
        <ul id="nav">
            <li v-for="(item,i) in list" :key="i">{{item}}</li>
        </ul>
        <div class="mai">
            <ul>
                <li><i class="el-icon-goods"></i> 在线购买 </li>
                <li><i class="el-icon-search"></i> </li>
            </ul>
        </div>
    </div>
</template>

<script>
export default {
    name: 'myhead',
    data() {
        return {
            list:['个人及家庭产品','商用产品及方案','服务支持','合作伙伴与开发者','关于华为']
        };
    },
    created() {
    },
    methods: {

    },
    //组件挂载
    components: {},
    //计算属性
    computed: {},
    //过滤器
    filters: {},
};
</script>

<style lang="scss" scoped>
#myhead{
    display: flex;
    padding: 0 100px;
    justify-content: space-between;

    .myimg{
        width: 140px;
        height: 30px;
        line-height: 60px;

        img{
            margin-top: 14px;
            width: 100%;
            height: 100%;
        }
    }
    #nav{ 
        width: 600px;
        height: 60px;
        display: flex;
        justify-content: space-around;
        line-height: 60px;
    }
    .mai{
        width: 200px ;
        height: 60px;
        ul{
            display: flex;
            justify-content: space-between;
            i{
                line-height: 60px;
                font-size: 28px;

            }
        }
    }
}

</style>
